package ${dtoPath};

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import io.swagger.annotations.ApiModel;
/**
* @Description:${table_annotation}新增【入参】
* @author ${author}
* @date ${date}
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "${table_annotation}")
public class ${EntityName}AddDto {
<#list columnListNotIdAndTimeAndUser as model>

    /**
    * ${model.columnComment}
    */
    @ApiModelProperty(value = "${model.columnComment}",example = "")
    <#if model.javaType=="Date">
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    </#if>
    private ${model.javaType} ${model.changeColumnName};
</#list>


}
